<template>
    <div class="marger">
         <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="date"
        label="日期"
        width="180">
      </el-table-column>
      <el-table-column
        prop="name"
        label="姓名"
        width="180">
      </el-table-column>
      <el-table-column
        prop="address"
        label="地址">
      </el-table-column>
    </el-table>
    </div>
</template>

<script>
export default {
    name: 'Git2001BGitTsXuexiHome',

    data() {
        return {
            routerList:[]
        };
    },

    created() {
        const arr = this.$router.getRouters();
        arr.forEach((item,index)=>{
            let obj = {}
            if (item.meta && item.label){
                obj.path = item.path;
                obj.name = item.name;
                obj.label = item.meta.label;
                this.routerList.push(obj) 
            }
        })
    },

    mounted() {
        
    },

    methods: {
        handlsClick(e){
            console.log('123')
        }
    },
};
</script>

<style lang="scss" scoped>

</style>